<script setup>
defineProps({
  title: {
    type: String,
    required: true
  },
  subtitle: {
    type: String,
    required: true
  }
})
</script>

<template>
  <div class="welcome-container">
    <div class="welcome-content">
      <h1 class="welcome-title">{{ title }}</h1>
      <p class="welcome-subtitle">{{ subtitle }}</p>
    </div>
  </div>
</template>

<style scoped>
/* 欢迎页面样式 */
.welcome-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 40px 40px 40px;
}

.welcome-content {
  text-align: center;
  margin-bottom: 100px;
}

.welcome-title {
  margin: 0;
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.welcome-subtitle {
  color: #6b7280;
  margin-top: 16px;
  font-size: 18px;
  font-weight: 500;
}
</style>

